package com.huya.mapper;

import com.github.pagehelper.Page;
import com.huya.pojo.dto.TeacherPageQueryDTO;
import com.huya.pojo.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TeacherMapper {
    /**
     * 分页查询老师信息
     * @param teacherPageQueryDTO
     * @return
     */
    Page<Teacher> pageQuery(TeacherPageQueryDTO teacherPageQueryDTO);
}
